wayland: Do not map toplevel utility as popup
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 2 May 2017 09:41:26 +0000 (11:41 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Fri, 2 Jun 2017 13:16:13 +0000 (15:16 +0200)
commit63e05158ea032b6b39e5ec59f2044c72841fd8ea
tree8e9983efc098bd8a8f6785bc47ae37f4c5387dfd
parenta2e2f38642b01a3b3bd1494a93d2bba23a75733a
wayland: Do not map toplevel utility as popup

Applications can specify the type hint as utility even on toplevel
windows.

When that toplevel is also marked as a transient for another window,
GDK Wayland backend would translate that as an xdg_popup which is not
appropriate.

While utility temp windows should remain mapped as subsurfaces (such as
the ones used by treeviews), regular windows should not translate as
neither a subsurface nor an xdg_popup.

https://bugzilla.gnome.org/show_bug.cgi?id=781945
gdk/wayland/gdkwindow-wayland.c